<%--
  Created by IntelliJ IDEA.
  User: Think
  Date: 2017/12/14
  Time: 9:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Login</title>
</head>
<body>
<div style="color: red;">
    ${errmsg}
</div>
<form action="${pageContext.request.contextPath}/login" method="post">
    <div>
        用户名：<input name="username">
    </div>
    <div>
        密码：<input type="password" name="password">
    </div>
    <div>
        <input type="submit" value="登录">
    </div>
</form>
</body>
</html>
